import { defineStore } from "pinia";
import { homeKey } from "./key";

export const useHomeStore = defineStore(homeKey, {
  state() {
    return {
      isCollapse: false,
    };
  },
  actions: {
    setIsCollapse(payload: boolean) {
      this.isCollapse = payload;
    },
  },
});
